package system

import (
	v2 "gin-admin/handler/v2"

	"github.com/gin-gonic/gin"
)

func RegisterCaptchaRoutes(group *gin.RouterGroup) {
	captchaGroup := group.Group("/captcha")
	handlerApp := v2.NewHandlerApp()
	captchaGroup.GET("/code", handlerApp.CaptchaHandler.GetCaptchaHandler)
	captchaGroup.POST("/verify", handlerApp.CaptchaHandler.VerifyCaptchaHandler)
}
